From 97c4f107f9118954d0847863469303013a224411 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 6 Apr 2007 10:14:02 +0100 Subject: [PATCH] ia64: Fix libxenguest build after save/restore interface changes. Signed-off-by: Alex Williamson --- tools/libxc/ia64/xc_ia64_linux_restore.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/libxc/ia64/xc_ia64_linux_restore.c b/tools/libxc/ia64/xc_ia64_linux_restore.c index 357e89796d..65154caee2 100644 --- a/tools/libxc/ia64/xc_ia64_linux_restore.c +++ b/tools/libxc/ia64/xc_ia64_linux_restore.c @@ -59,9 +59,10 @@ read_page(int xc_handle, int io_fd, uint32_t dom, unsigned long pfn) } int -xc_linux_restore(int xc_handle, int io_fd, uint32_t dom, +xc_domain_restore(int xc_handle, int io_fd, uint32_t dom, unsigned int store_evtchn, unsigned long *store_mfn, - unsigned int console_evtchn, unsigned long *console_mfn) + unsigned int console_evtchn, unsigned long *console_mfn, + unsigned int hvm, unsigned int pae) { DECLARE_DOMCTL; int rc = 1, i; @@ -81,6 +82,11 @@ xc_linux_restore(int xc_handle, int io_fd, uint32_t dom, /* A temporary mapping of the guest's start_info page. */ start_info_t *start_info; + if (hvm) { + ERROR("HVM Restore is unsupported"); + goto out; + } + /* For info only */ nr_pfns = 0; -- 2.30.2